<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>


<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>

<jsp:useBean id="loginBean" class="at.fhj.ase.view.LoginBean" scope="session"/>



<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Login</title>
</head>
<body>


<h3>To login please enter your username and password</h3>
<h1>Login</h1>

	<table>

			<tr>
				<td>Username:*</td>
				<td><h:inputText id="username" value="#{userBean.username}"/></td>
			</tr>
			<tr>	
				<td>Password:*</td>
				<td><h:inputSecret id="password" value="#{userBean.password}"/>
					</td>
			</tr>
			<tr>
				<td></td>
				<td><input type="button" value="submit" onClick="submit()"/></td>
			</tr>
	</table>


<p></p>
</body>

</html>